package com.senyin.service;


import com.fasterxml.jackson.databind.ser.Serializers;
import com.senyin.common.BaseResponse;
import com.senyin.entity.Dept;
import com.senyin.entity.Position;

import javax.servlet.http.HttpServletRequest;
import java.sql.SQLException;
import java.util.List;

public interface PositionService {

    BaseResponse<List<Position>> showAll() throws SQLException;

    BaseResponse addPosition(Position position, HttpServletRequest request) throws SQLException;

    BaseResponse modPosition(Position position, HttpServletRequest request) throws SQLException;
    BaseResponse delPositionByUUID(String UUID,HttpServletRequest request) throws SQLException;
}
